package com.cap.bts.crmdp.dealer.coupon.dao;

import java.util.List;

import com.cap.bts.crmdp.dealer.coupon.domain.CouponEligibility;
import com.cap.bts.crmdp.dealer.coupon.dto.CouponEligibilityDto;
import com.cap.bts.framework.common.dao.IBaseDao;
import com.cap.bts.framework.common.exception.AppException;

public interface ICouponEligibilityDao extends IBaseDao<CouponEligibility, Long> {
    public List<CouponEligibility> getCouponEligibilityList(CouponEligibilityDto packageEligibilityDto)
                                                                                                               throws AppException;
    public CouponEligibility insertCouponEligibilityInfo(CouponEligibility CouponEligibility)
                                                                                                                throws AppException;
    public boolean removeCouponEligibilityInfo(Long  id)
                                                                                            throws AppException;

    public CouponEligibility getCouponEligibilityInfoByCouponDefId(CouponEligibilityDto dto) throws AppException;
    
    public List<CouponEligibility> getCouponEligibilityByCouponDefId(Long ticketDefId) throws AppException;
}
